import {ref} from "vue";

export const creatorDict = () => {

  const paintEngineTypeOptions = ref<Array<any>>([
    {
      label : 'StableDiffusion',
      value :'SD'
    },{
      label : 'MidJourney',
      value :'MJ'
    },{
      label : 'Fooocus',
      value :'Fooocus'
    }
  ])

  const articleType = ref<Array<any>>([
    {
      label: '小说转绘',
      value: '1'
    },
    {
      label: '视频转绘',
      value: '2'
    }
  ])

  const videoCutPicType  = ref<Array<any>>([
    {
      label: '正常模式',
      value: '1'
    },
    {
      label: '冗余模式',
      value: '2'
    }
  ])

  const storyBoardSelectType  = ref<Array<any>>([
    {
      label: '全部',
      value: '0'
    },
    {
      label: '已完成',
      value: '1'
    },
    {
      label: '未完成',
      value: '2'
    }
  ])


  const upscaleEngineTypeOptions = ref<Array<any>>([
    {
      label: '本地RealESRGAN',
      value: 'realesrgan'
    },{
      label: 'SD后期处理',
      value: 'sd'
    }
  ])


  const upscaleEngineFooocusOptions = ref<Array<any>>([
    {
      label: '本地RealESRGAN',
      value: 'realesrgan'
    }
  ])


  const fooocusUpscaleEngineTypeOptions = ref<Array<any>>([

    {
      label: 'Upscale (1.5x)会启用扩散模型,弱鸡电脑慎用',
      value: 'Upscale (1.5x)'
    },
    {
      label: 'Upscale (2x)会启用扩散模型,弱鸡电脑慎用',
      value: 'Upscale (2x)'
    }
  ])


  const fooocusVaryOptions = ref<Array<any>>([
    {
      label: '小幅度',
      value: 'Vary (Subtle)'
    },
    {
      label: '大幅度',
      value: 'Vary (Strong)'
    }
  ])

  const realESRGANModelTypeOptions = ref<Array<any>>([
    {
      label: 'realesrgan-x4plus',
      value: 'realesrgan-x4plus'
    },{
      label: 'realesr-animevideov3',
      value: 'realesr-animevideov3'
    }
  ])


  const expandImageOption = ref<Array<any>>(
    [
      {
        label: '左右扩展',
        value: 'HORIZONTAL'
      },
      {
        label: '上下扩展',
        value: 'VERTICAL'
      }
    ])

  return {
    articleType,
    videoCutPicType,
    storyBoardSelectType,
    upscaleEngineTypeOptions,
    realESRGANModelTypeOptions,
    expandImageOption,
    upscaleEngineFooocusOptions,
    fooocusUpscaleEngineTypeOptions,
    fooocusVaryOptions,
    paintEngineTypeOptions
  }
}

